<?php
namespace App\Http\Controllers\Test;
use App\Http\Controllers\Controller;

class testController extends Controller{
    function test(){
        echo 'This is a test';
    }

    function view(){
        return view('test');
    }

    function add (){
        $data = ['title'=>'user add', 'name'=>'lee'];
        return view('user.add', $data);
    }
}
 ?>
